Skip to main content

revdb_moveprev

Type

function

Summary

Executes the revMoveToPreviousRecord command.

Syntax

revdb_moveprev(<recordSetID>)

Description

Use the revdb_moveprev function to move around within the selected set of records.

Evaluating the revdb_moveprev function has the same effect as executing the revMoveToPreviousRecord command. The only difference is that one is a function call and the other is a command.

Important

The revdb_moveprev function is part of the Database library. To ensure that the function works in a standalone application, you must include this custom library when you create your standalone. In the Inclusions pane of the Standalone Application Settings window, make sure both the "Database" library checkbox and those of the database drivers you are using are checked.

Parameters

NameTypeDescription

recordSetID

The number returned by the revQueryDatabase or revQueryDatabaseBLOB function when the record set (database cursor) was created.

Examples

revdb_moveprev(testresults)

control structure: function

function: revCurrentRecord, revCurrentRecordIsFirst, revCurrentRecordIsLast

glossary: LiveCode custom library, Standalone Application Settings, command, standalone application, execute, function call

library: Database library

command: revMoveToFirstRecord, revMoveToNextRecord, revMoveToPreviousRecord, revMoveToLastRecord

Compatibility and Support

Introduced

LiveCode 1.1

OS

mac

windows

linux

ios

android

Platforms

desktop

server

mobile

Thank you for your feedback!

Was this page helpful?